package com.sharedlease.Feign;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sharedlease.entity.Collect_merchant;
import com.sharedlease.entity.R;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@Repository
public interface Collect_merchantClient extends BaseMapper<Collect_merchant> {
    public Collect_merchant getCollect_merchantById(@PathVariable Long id);
    public List<Collect_merchant> getCollect_merchantByUid(@PathVariable Long uid);
    public List<Collect_merchant> getCollect_merchantList();
    public R saveCollect_merchant(@RequestBody Collect_merchant collect_merchant);
    public R deleteCollect_merchantById(@RequestBody Collect_merchant collect_merchant);
    public R updateCollect_merchantById(@RequestBody Collect_merchant collect_merchant);
}
